﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Orders.Output
{
    public class OrderDetailOutput
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public Guid OrderId { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        public string VoucherCode { get; set; }

        /// <summary>
        /// 行号
        /// </summary>
        public int LineNo { get; set; }


        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 订单数量
        /// </summary>
        public decimal OrderCount { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 厂家ID
        /// </summary>
        public Guid ManufactureId { get; set; }

        /// <summary>
        /// 厂家名称
        /// </summary>
        public string ManufactureName { get; set; }
        /// <summary>
        /// 注册证号
        /// </summary>
        public string RegisteredCardCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
